package com.goldwind.config;

import org.springframework.context.annotation.*;
import org.springframework.stereotype.Controller;

@Configuration
@Import({
        JdbcConfig.class,      // 数据源
        MybatisConfig.class,// MyBatis配置
        OssConfig.class
})
@ComponentScan(
        basePackages = {"com.goldwind.accompany.service","com.goldwind.chat.service"}, // 只扫描service包
        excludeFilters = @ComponentScan.Filter(
                type = FilterType.ANNOTATION,
                classes = Controller.class
        )
)
@PropertySource("classpath:jdbc.properties")
public class ServiceTestConfig {
    // 不需要任何Web配置
}
